package com.lanyan.system.domain.vo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.lanyan.common.annotation.RequiredField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lanyan.system.domain.Account;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lanyan.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lanyan.common.core.domain.BaseEntity;

/**
 * 用户支付Vo对象 pay
 *
 * @author lanyan
 * @date 2024-11-26
 */
@Data
public class PayVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "pay_id", type = IdType.AUTO)
    @RequiredField(update = true,delete = true)
    private Long payId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 所属用户 */
    @Excel(name = "所属用户")
    @ApiModelProperty("所属用户")
    private Long accountId;

    /** 支付金额 */
    @Excel(name = "支付金额")
    @ApiModelProperty("支付金额")
    private BigDecimal money;

    /** vip主键 */
    @Excel(name = "vip主键")
    @ApiModelProperty("vip主键")
    private Long vipId;

    /** 支付编号 */
    @Excel(name = "支付编号")
    @ApiModelProperty("支付编号")
    private String payNo;

    /** 状态（0待支付 1已支付） */
    @Excel(name = "状态", readConverterExp = "0=待支付,1=已支付")
    @ApiModelProperty("状态（0待支付 1已支付）")
    private String isPay;

    @TableField(exist = false)
    private Account account;

}
